how to check superset in python